<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<base href="http://localhost:8080/Gucci/">
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
request.setCharacterEncoding("utf-8");
response.setCharacterEncoding("utf-8");
response.setContentType("text/html");
String rt=request.getParameter("dvdType2");
String addrt1=request.getParameter("add");
String xgrt1=request.getParameter("xg");
String scrt1=request.getParameter("sc");
String scrt2=request.getParameter("dvdTypes");

System.out.println("fgggg"+scrt2);
  session.setAttribute("rt",rt);
  session.setAttribute("addrt1",addrt1);
  session.setAttribute("xgrt1",xgrt1);
  session.setAttribute("scrt1",scrt1);
  session.setAttribute("scrt2",scrt2);
  
 
%>
</head>
<body>
<c:if test="${addrt1=='添加'||xgrt1=='修改'}">
 <div style="margin-left: 400px">
        <h1 style="margin-left: 10px;">添加DVD信息：</h1>
        <br>
        <form action="upload" method="post" enctype="multipart/form-data"
            >
          <table class="gridtable">
              
               
                <tr>
                <td>请传入DVD图片<br>必须是gif格式</td>
                <td><input type="file" name="toyxiand"
                 style="border: 0px; font-size: 20px;"
                /></td>
                </tr>
                <tr>
                    <td>请输入DVD类型:</td>
                    <td width="300px"><input id="dvdType" type="text"
                        name="dvdType" style="border: 0px; font-size: 20px;">
                    <input type="hidden" name="" >

                        </td>
                </tr>
                <tr>

                    <td colspan="2">
                    <input type="submit" name="qr" value="确定"
                        style="width: 120px; height: 30px; background-color: blue; border: 0px; color: #fff5ee; font-size: 15px; margin-left: 10px;">
                          </form>
                         
                </tr>
            </table>
            <input type="hidden" id="isEmpty" name="isEmpty" value="FULL">
      
       
    </div>
    </c:if>
    <c:if test="${scrt1=='删除'}">
     <div style="margin-left: 400px">
     
        <br>
        <form action="upload" method="post" enctype="multipart/form-data"
            >
          <table class="gridtable">
              
               
              
             
                <tr>

                    <td colspan="2">
                    <input type="submit" name="qr" value="确定"
                        style="width: 120px; height: 30px; background-color: blue; border: 0px; color: #fff5ee; font-size: 15px; margin-left: 10px;">
                          </form>
                         
                </tr>
            </table>
     </c:if>
</body>
</html>